package com.zy.service.impl;

import com.zy.dao.AddOrderDao;
import com.zy.dao.impl.AddOrderDaoImpl;
import com.zy.service.AddOrderService;
import java.math.BigDecimal;
import java.util.Date;

public class AddOrderServiceImpl implements AddOrderService {
    private AddOrderDao addOrderDao = new AddOrderDaoImpl();

    @Override
    public void addOrder(BigDecimal paymentAmount, Date paymentTime, int userId) {
        addOrderDao.insertOrder(paymentAmount, paymentTime, userId);
    }
}
